<?php
require_once 'Zend/Controller/Plugin/Abstract.php';

class Custom_Controller_Plugin_Layout extends Zend_Controller_Plugin_Abstract
{
	/*
	public function routeShutdown(Zend_Controller_Request_Abstract $request)
	{
		$module = $request->getModuleName();
		
		$viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper(
		    'ViewRenderer'		
		);
		
		$view = $viewRenderer->view;
		$moduleParams = $this->$module;
		
		$layout = $view->layout();
		
		$layout->setLayoutPath($moduleParams['layoutPath'])
			->setLayout($moduleParams['layout']);
	}*/
}